package com.fa4j.third.user.dingtalk.config;

import com.fa4j.third.base.config.ThirdAdapterConfigurer;
import com.fa4j.third.user.dingtalk.adapter.DingtalkUserOauth2ServiceAdapter;
import org.springframework.boot.autoconfigure.AutoConfiguration;
import org.springframework.context.annotation.Bean;

@AutoConfiguration
public class DingtalkUserAutoConfiguration {

    @Bean
    public ThirdAdapterConfigurer dingtalkUserOath2AdapterConfigurer() {
        return new ThirdAdapterConfigurer(DingtalkUserOauth2ServiceAdapter.class);
    }
}
